package com.yc.boot.work.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.boot.work.entity.ComplexSqlDemo;
import com.yc.boot.work.entity.CorrelationDemo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author 杨智杰
 * @since 2021/11/19 11:11
 */
@Mapper
public interface CorrelationDemoMapper extends BaseMapper<CorrelationDemo> {


    /**
     * 这种SQL虽然可以写在任意Mapper中,
     * 但还是建议按照各自业务规整至相应的的mapper
     *
     * @return
     */
    ComplexSqlDemo select();

}
